<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>点纳信息科技有限公司 - 登录</title>
    <link rel="icon" href="images/logo.ico" mce_href="images/logo.ico" type="image/x-icon">
    <script type="text/javascript" src="__dotnar_lib_base_url__/js/lib/require.min.js"></script>
    <script type="text/javascript" src="__dotnar_lib_base_url__/js/lib/loader.js"></script>
    <script type="text/javascript" src="/js/require.config.js"></script>
    <script type="text/javascript">
    require(["r_css!./css/dotnar.default.css", "r_css!./css/action.css"]);
    require(["core"], function(routie) {
        require(["js/dotnar.com/find_paw.js"], function(argument) {
            window.removeLoader();
        });
    });
    </script>
</head>

<body>
    <div style="display:none" id="jSouperApp">
        <div class="top">
            <div class="box">
                <div class="tl">
                    您正在使用的是点纳科技 ——
                    <span>密码找回功能
                        <span>
                </div>
                <div class="tr">
                    <div class="tl"></div>
                    <a href="http://dotnar.com" class="item">官网</a>
                    {{#if rebackurl}}
                    <a href="{{'http://'+rebackurl}}" class="item">返回商铺</a>
                    {{/if}}
                </div>
            </div>
        </div>
        <div class="main">
            <div class="steps">
                <div class="item" event-click="{{'$Event.find_paw.to_1'}}">1.输入关联邮箱/手机号</div>
                <div class="item" event-click="{{'$Event.find_paw.to_2'}}">2.输入验证码和新密码</div>
                <div class="item">3.修改成功</div>
                <div class="sb {{#if $Cache.find_paw_steps==2}}sa{{#else}}{{($Cache.find_paw_steps==3)&&'sc'}} {{/if}}"></div>
            </div>
            {{#> "find_paw_"+($Cache.find_paw_steps||1)}}
        </div>
        {{#include "./pages/dotnar.com/default/bottom.html"}}
        <xmp type="template" name="find_paw_1">
            <!-- <h2>步骤一：申请密码重置</h2> -->
            <div>
                <div class="i">
                    请输入您的账号的邮箱/手机号：
                    <input class="text" placeholder="点纳微站邮箱/手机号" bind-input="{{'$Cache.find_paw.email'}}" value="{{$Cache.find_paw.email}}">
                </div>
                <div class="i">
                    账号类型：
                    <label for="radio_find_paw_type_user">
                        <input id="radio_find_paw_type_user" type="radio" value="user" bind-input="{{'$Cache.find_paw.type'}}" checked="{{$Cache.find_paw.type}}">用户
                    </label>
                    <label for="radio_find_paw_type_bus">
                        <input id="radio_find_paw_type_bus" type="radio" value="bus" bind-input="{{'$Cache.find_paw.type'}}" checked="{{$Cache.find_paw.type}}">商家
                    </label>
                </div>
                <div class="i">
                    <button event-click="{{'$Event.find_paw.by_email'}}">提交申请</button>
                </div>
            </div>
        </xmp>
        <xmp type="template" name="find_paw_2">
            <!-- <h2>步骤二：输入新密码</h2> -->
            <div>
                {{#if !$Cache.find_paw.url_reset_code}}
                <!-- 手机收验证码的情况下 -->
                <div class="i">
                    <label>
                        <span>验证码：</span>
                        <input class="text" placeholder="请输入发送到邮箱的“验证码”" bind-input="{{'$Cache.find_paw.find_paw_id'}}" value="{{$Cache.find_paw.find_paw_id}}" />
                    </label>
                </div>
                {{/if}}
                <div class="i">
                    <label>
                        <span>新密码：</span>
                        <input class="text" type="password" bind-input="{{'$Cache.find_paw.new_paw'}}" value="{{$Cache.find_paw.new_paw}}" />
                    </label>
                </div>
                <div class="i">
                    <label>
                        <span>再次输入新密码：</span>
                        <input class="text" type="password" bind-input="{{'$Cache.find_paw.confirm_paw'}}" value="{{$Cache.find_paw.confirm_paw}}" />
                    </label>
                </div>
                <div class="i">
                    <button event-click="{{'$Event.find_paw.update_paw'}}">确定修改</button>
                </div>
            </div>
        </xmp>
        <xmp type="template" name="find_paw_3">
            <!-- <h2>步骤三：密码重置成功啦</h2> -->
            <div class="i">
                快去使用新密码登录您的点纳微站账号吧。
            </div>
        </xmp>

    </div>
</body>

</html>
